const userRouer = require("./router/user");

const path = require("path");
const bodyParser = require("body-parser");
require("express")()
  .use(require("express").static(path.join(__dirname, "src")))
  .use(bodyParser.urlencoded({ extended: false }))
  .use(bodyParser.json())
  .use("/user", userRouer)
  .listen(8889, () =>
    console.log("server is running http://localhost:8889/fakevuerouter.html")
  );
